package com.example.ViewPagerSum.domain;

import org.json.JSONException;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.List;

/**
 * ============================================================
 * author：     王景
 * <p/>
 * time：       2015/9/20  22:27.
 * <p/>
 * email:     wjontheway@163.com
 * <p/>
 * description：
 * <p/>
 * ============================================================
 */
public class MMDetailPthoto {
    private List<String> srcList=new ArrayList<>();//图片的路径
    private String title;//图片的标题介绍
    private int size;//图片多少张
    private int count;//访问数

    public void parseJson(JSONObject itemObject) throws JSONException {
        String src = itemObject.getString("src");
        srcList.add(src);
    }

    public String getTitle() {
        return title;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<String> getSrcList() {
        return srcList;
    }
}
